#ifndef CALCMAIN_H
#define CALCMAIN_H

#include <QMainWindow>
#include <qtmetamacros.h>

QT_BEGIN_NAMESPACE
namespace Ui {
class CalcMain;
}
QT_END_NAMESPACE

class CalcMain : public QMainWindow {
    Q_OBJECT

public:
    CalcMain(QWidget* parent = nullptr);
    ~CalcMain();

private slots:
    void on_calculate_button_clicked();
    void on_clear_expression_button_clicked();
    void on_clear_result_button_clicked();
    void on_expression_input_returenPressed();

    void on_button_1_clicked();
    void on_button_2_clicked();
    void on_button_3_clicked();
    void on_button_4_clicked();
    void on_button_5_clicked();
    void on_button_6_clicked();
    void on_button_7_clicked();
    void on_button_8_clicked();
    void on_button_9_clicked();
    void on_button_0_clicked();
    void on_button_point_clicked();
    void on_button_del_clicked();
    void on_button_add_clicked();
    void on_button_sub_clicked();
    void on_button_mul_clicked();
    void on_button_div_clicked();
    void on_button_leftbrace_clicked();
    void on_button_rightbrace_clicked();

private:
    Ui::CalcMain* ui;
};
#endif  // CALCMAIN_H
